body {
	margin: 0;
	padding: 0;
	/*font-family: "trebuchet MS", "Sans Serif";*/
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	color: #1d283f;
	background: #fff;
}

a {
	color: #3c578e;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

.frmbutton {
	border:1px solid #1d283f;
	padding: 1px 12px;
	color: #1d283f;
	font-weight: bold;
	font-size: 10px;
	background: #ccc;
	cursor: pointer;
	cursor: hand;
}

#wrapper {
	margin: 0;
	width: 100%;
	height: 100%;
}

.t {
	background: url('./res/img/border_t.gif') 0 0 repeat-x; 
	width: 100%;
	/*height: 100%;*/
	margin-bottom: 20px;
}

.b {
	background: url('./res/img/border_b.gif') 0 100% repeat-x;
	height: 100%;
}

.l {
	background: url('./res/img/border_l.gif') 0 0 repeat-y;
	height: 100%;
}

.r {
	background: url('./res/img/border_r.gif') 100% 0 repeat-y;
	height: 100%;
}

.bl {
	background: url('./res/img/border_bl.gif') 0 100% no-repeat;
	height: 100%;
}

.br {
	background: url('./res/img/border_br.gif') 100% 100% no-repeat;
	height: 100%;
}

.tl {
	background: url('./res/img/border_tl.gif') 0 0 no-repeat;
	height: 100%;
}

.tr {
	background: url('./res/img/border_tr.gif') 100% 0 no-repeat; 
	height: 100%;
	padding: 7px;
}

.unfloat {
	float: none !important;
	clear: both !important;
}

#header {
	padding: 10px;
	height: 45px;
	background: url('./res/img/header_bg.jpg') no-repeat top left;
}

#logo {
	float: right;
	background: url('./res/img/logo.gif') no-repeat 0px -25px;
	width: 126px;
	height: 44px;
}

#menu {
	list-style: none;
	padding: 0;
	margin: 0;
	background: url('./res/img/menu_bg.gif') repeat-x top left;
	float: left;
	width: 100%;
	position: relative;
}

#menu a {
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	padding: 6px 12px;
	height: 14px;
	cursor: pointer;
	cursor: hand;
	float: left;
	border-right: 1px solid #000;
}

#menu li {
	float: left;
}

#menu li.disable {
	color: #ccc;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	padding: 6px 12px;
	height: 14px;
	float: left;
	border-right: 1px solid #000;
}

#menu ul {
	/*display: none;*/
	position: absolute;
	z-index: 100;
	width: 150px;
	border: 2px outset #4f94cd;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #f6f6f6 url('./res/img/submenu_bg.gif') repeat-y top left;
}

#menu ul li {
	list-style: none;
	padding: 0 4px 0 0;
	float: none;
	width: 150px;
}

#menu ul li a {
	color: #1d283f;
	font-weight: normal;
	font-size: 10px;
	float: none;
	border: none;
	display: block;
	padding: 5px 1px 5px 30px;
	height: auto;
}

#menu ul li a:hover {
	padding: 4px 0 4px 29px;
	background: #fef1b5;
	border: 1px solid #1d283f;
}

#menu ul li a.hassm {
	background: url('./res/img/marr.gif') no-repeat 98% 50%;
}

#menu ul li a:hover.hassm {
	background: #fef1b5 url('./res/img/marr.gif') no-repeat 99% 50%;
}

#footer {
	text-align: right;
	font-size: 9px;
	padding: 7px 1%;
	height: 12px;
	background: url('./res/img/menu_bg.gif') repeat-x top left;
	position: fixed;
	bottom: 0;
	width: 98%;
}

* html #footer { /*IE6 only rule, applied on top of the default above*/
	position: absolute;
	top: expression(document.compatMode == "CSS1Compat" ? (documentElement.scrollTop + (documentElement.clientHeight-this.clientHeight))  + "px" : 
		(document.body.scrollTop + (document.body.clientHeight-this.clientHeight)) + "px");
}

#main {
	margin: 20px 0;
}

.loginform {
	width: 450px;
	margin: 0 auto;
}

.gridtable, .formtable {
	width: 100%;
	border-top: none;
	border-left: 1px solid #929292;
	border-right: 1px solid #929292;
	border-bottom: 1px solid #929292;
}

.gridtable caption, .formtable caption{
	border-top: 1px solid #929292;
	border-left: 1px solid #929292;
	border-right: 1px solid #929292;
}

.gridtable th, .formtable th, .mainTitle, .gridtable caption {
	height: 26px;
	padding: 0 5px;
	background: url('./res/img/menu_bg.gif') repeat-x top left;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

.gridtable caption, .formtable caption{
	padding-top:5px;	
}

.gridtable th a, .formtable th a {
	color: #fff;
}

.gridtable th.gridtools, .gridtable caption.gridtools {
	background: #fff url('./res/img/y.gif') no-repeat 10px 7px;
	font-weight: bold;
	color: #1d283f;
	vertical-align: middle;
	padding-left: 30px;
}

.gridtable th.gridtools a, .gridtools_sep, .gridtable caption.gridtools a {
	float: right;
	color: #1d283f;
	margin-left: 5px;
}

.formtable th.formtools {
	background: #fff;
	font-weight: bold;
	color: #1d283f;
	vertical-align: middle;
	padding-left: 30px;
	border-top: 1px solid #929292;
}

.formtable th.formtools a, .formtools_sep {
	float: right;
	color: #1d283f;
	margin-left: 5px;
}

.coolinp {
	border: 1px solid #1d283f;
	width: 100%;
	color: #1d283f;
}

.err {
	color: #ff0000;
}

.paging {
	width: 98%;
	padding: 0 1%;
	text-align: right;
}

.pageing_info {
	float: left;
}

.changelog {
	background: #9fb6cd;
	margin: 0;
	border: 2px groove #1d283f;
}

.changelog legend {
	font-weight: bold;
	font-size: 12px;
}

#framesholder iframe {
	height: 150px;
	width: 100%;
	margin-bottom: 20px;
	border: none;
}

.noMarginMain {
	margin: 0 !important;
}

/* za calendar-a */
#calidfrm {
	position: absolute;
	display: none;
	width: 150px;
	height: 200px;
}

#calid {
	position: absolute;
	display: none;
	background-color: #f8f8f8;
	border: 1px solid Black;
	width: 150px;
	height: 100px;
	padding: 3px;
}
.cal td {
	font-size : 11px;
	font-family : Arial, Helvetica, sans-serif;
	background-color: #f0f0f0;
	cursor: pointer;
	cursor: hand;
}
.cal th {
	font-size : 11px;
	font-family : Arial, Helvetica, sans-serif;
	font-weight: bold;
	background-color: #e0e0e0;
}
.cal a {
	font-family : Arial, Helvetica, sans-serif ;
	text-decoration: none;
	color: Black;
	font-size: 11px;
}
.cal a:hover {
	font-family : Arial, Helvetica, sans-serif ;
	text-decoration: none;
	color: #990000;
	font-size: 11px;
}

.white_row {
	background: #ffffff !important;
}

.color_row {
	background: #96b9df !important;
}

.menudelim{
	margin-top:4px;
	*margin-top:0px;
	margin-bottom:5px;
	height:1px; 
	font-size:1px!important;
	border-bottom:1px solid black; 
	padding:0px!important;
	width: 114px!important;
	margin-left:30px;
}

.hiddenElm {
	display: none;
}

.visibleElm {
	display: block;
}


.contentTextArea{
	height:400px;
}

.menuHolder, .textHolder, .xmlHolder, .tagHolder{
	height:700px;
	/*height:100%;*/
	float:left;
}
#formattingMenuHolder{
	height:30px;
}

#textHolder{
	height:670px;	
}

#menuHolder, #xmlHolder, #tagHolder, #sourceTextAreaIframeHolder{
	height:700px;	
	/*height:100%;*/
}

#formattingMenuHolder{
	text-align:center;
}

#formattingMenuHolder a{
	padding:0px 10px;	
	font-size:15px;
	text-decoration:none;
	cursor:pointer;
	color:#000;
}

#formattingMenuHolder a.menuButtonB{
	font-weight:bold;
}

#formattingMenuHolder a.menuButtonI{
	font-style:italic;
}

#formattingMenuHolder a.menuButtonU{
	text-decoration:underline;
}


.menuHolder, .tagHolder{
	/*width:100px;*/
	width:10%;
}

.textHolder{
	/*margin-left:20px;
	margin-right:10px;
	*/
}

.textHolder, .xmlHolder{
	width:40%;
}

.sourceModeTextHolder{
	width:90%!important;
}

.sourceModeTextHolder textarea{
	width:100%;
	padding:0px;
	margin:0px;
	border:1px solid #000;
	height:698px;
}

.textHolder .t, .textHolder .b, .textHolder .l, .textHolder .r, .textHolder .bl, .textHolder .br, .textHolder .tl, .textHolder .tr{
	/*height:100%;*/
}

#textHolder, #xmlHolder, #sourceTextAreaIframeHolder{
	/*width:500px;*/
	
	position:relative;
}

.menuHolder a, .rightClickMenu a{
	display:block;
	padding:10px 5px;
	cursor:pointer;
}

.rightClickMenu, .hiddenPopup{
	display:none;
	position:absolute;
}

.rightClickMenu{
	z-index:1000;
}

.autotagRightClickMenu{
	z-index:10003!important;
}

#rightClickMenu, #sourceRightClickMenu, #autotagRightClickMenu, #rightClickSubMenu, #sourceModeRightClickMenu{
	width:180px;
	padding:10px;
	z-index:1000;
	background:white;
}

#autotagRightClickMenu{
	height:auto;
}

#rightClickMenu, #sourceRightClickMenu{
	height:380px;
}

.hiddenPopup{	
	z-index: 10002;	
	/*border: 5px solid #D1D3D4;
	padding:10px;*/
	background: transparent;
	
	text-align: center;
	height: auto !important;
}

#hiddenPopup{
	background:#fff;
	padding:10px;
}

#layerbg {
	position: absolute;
	display:none;
	z-index: 10001;
	width: 10px;
	height: 10px;
	background: #ccc !important;
	opacity: 0.5;
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	filter: alpha(opacity=50);
	top: 0;
	left: 0;
}

.waitingBackground{
	background:#ccc url('./res/img/loading.gif') no-repeat center center !important;
}

.hiddenPopup .label{
	font-size:12px;
	font-weight:bold;	
	padding:5px 0px 20px;
}

.hiddenPopup .buttonHolder{
	padding:30px 0px 10px;
}

.buttonHolder .leftInput{
	margin:0px 10px 0px 0px;
}

#hiddenPopup table{
	width:100%;
}

#hiddenPopup table td{
	padding:0px 3px;
	text-align:left;
}

#hiddenPopup table td select{
	width:155px;
}

#hiddenPopup table td input{
	width:150px;
}

.xmlWrapper{
	width:100%;
	height:100%;
}

html, mhtml, body{
	height:100%;
	width:100%;
}

iframe, iframe body{
	border:none;
}

.disabledinput{
	background:#ccc;
}

.errstr, .error{
	color:red;
}

.textAlignRight{
	text-align:right!important;
}

.replacementTd{
	width: 300px;
	padding:0px 5px!important;
	text-align:center!important;
}

.replacementTd input{
	width:280px!important;
}

.errReplacement{
	border:1px solid red!important;
}

.rule_properties iframe{
	height:500px!important;
}

.tagNameCheckbox, .tagNameColorBox, .tagNameLabel{
	float:left;
}

.tagNameColorBox{
	width:10px;
	height:10px;
	margin:5px 10px;
}

#tagHolder{
	overflow:auto;
}

.taxonLinks a{
	display:block;
	padding:5px 0px;
}

.externalDetailsInnerWrapper{
	width:700px;
	margin:10px auto;
}

.replacementTextArea{
	height:80px;
	width:500px;
	border:none;
}

.matchedText{
	width:200px;
}

.matchesTable td{
	border:1px solid black;
}

.referenceCitationText{
	text-align:left;
	vertical-align:middle;
	width:400px;
}

.referenceCitationId, .referenceCitationCount{
	text-align:center!important;
	vertical-align:middle;
	width:50px;
}

.match_part_0{
	font-weight:bold;
}

.lastColumn{
	text-align: right;	
}

.noRecordsMessage{
	text-align:center;
	font-weight:bold;
	display:block;	
}

.errorMsg{
	color:red;
	padding-left:5px;	
}